﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
	CodeBehind="ContentConfig.aspx.cs" Inherits="SBACN.WebSite.Admin.ContentConfig" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div id="contentDiv">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-stroke2">
		<asp:Repeater ID="Repeater1" runat="server">
			<ItemTemplate>
				<tr>
					<td width="16%" class="form-label-1">
						标题：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="ConfingMsg" runat="server" Width="90%"  Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>'></asp:TextBox>
						<br /><asp:Label runat="server" Text="" ID="Msg" ForeColor="red" ></asp:Label>

					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						内容：
					</td>
					<td width="84%" class="form-body-1">
						<asp:TextBox ID="ConfingSet" runat="server" Width="90%" Text='<%# Eval("Value") %>' TextMode="MultiLine" Rows="10"></asp:TextBox>
						<br /><asp:Label runat="server" Text="" ID="SetM" ForeColor="red" ></asp:Label>
					</td>
				</tr>
				<tr>
					<td width="16%" class="form-label-1">
						状态：
					</td>
					<td width="84%" class="form-body-1">
						<asp:CheckBox ID="status" runat="server" Checked='<%# Eval("Status") %>' Text="启用" />
						<asp:HiddenField ID="CodeID" runat="server" Value='<%# Eval("Code") %>' />
					</td>
				</tr>
				<tr>
				<td colspan="2" style="padding-top:50px;" ></td>
				</tr>
			</ItemTemplate>
		</asp:Repeater>
		<tr>
			<td   colspan="2" class="form-body-1" style="text-align:center;">
				<asp:HiddenField ID="HidCode" runat="server" />
				<asp:Button ID="Sub_btn" runat="server" CssClass="btnsearch" Text="保存" OnClick="Sub_btn_Click" />
			</td>
		</tr>
	</table>
</asp:Content>
